//ObserverJavaModelClient.java
package observer.newmodel;

/**
 *@author:youtubezou
 *@version:2012-7-30
 */
public class ObserverNewModelClient {
	public static void main(String[] args){
		ConcreteSubject subject = new ConcreteSubject();
		
		subject.attach(new ObserverA());
		subject.attach(new ObserverB());
		subject.setMessage("subject changed");
	}
	

}


